package com.himore.api.web.model;

import com.himore.api.common.annotation.Excel;
import com.himore.api.common.core.domain.BaseEntity;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 我的奖品信息对象 t_selected_awards
 *
 * @author ruoyi
 * @date 2021-01-21
 */
public class TSelectedAwards extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录ID */
    @ApiModelProperty(value = "记录ID")
    private Long recordId;

    /** 用户ID */
    @ApiModelProperty(value = "用户ID")
    private Long userId;

    /** 奖品ID */
    @ApiModelProperty(value = "奖品ID")
    private Long awardId;

    /** 奖品类型:1. 签到  2. 转盘  3. 兑换 */
    @ApiModelProperty(value = "奖品类型:1. 签到  2. 转盘  3. 兑换")
    private String awardType;

    /** 奖品名称 */
    @ApiModelProperty(value = "奖品名称")
    private String awardName;

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    /** 数额 */
    @ApiModelProperty(value = "数额")
    private Integer amount;

    /** 中将比例 */
    @ApiModelProperty(value = "中将比例")
    private Double scale;

    public void setRecordId(Long recordId)
    {
        this.recordId = recordId;
    }

    public Long getRecordId()
    {
        return recordId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setAwardId(Long awardId)
    {
        this.awardId = awardId;
    }

    public Long getAwardId()
    {
        return awardId;
    }
    public void setAwardType(String awardType)
    {
        this.awardType = awardType;
    }

    public String getAwardType()
    {
        return awardType;
    }
    public void setAwardName(String awardName)
    {
        this.awardName = awardName;
    }

    public String getAwardName()
    {
        return awardName;
    }

    public void setScale(Double scale)
    {
        this.scale = scale;
    }

    public Double getScale()
    {
        return scale;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("recordId", getRecordId())
                .append("userId", getUserId())
                .append("awardId", getAwardId())
                .append("awardType", getAwardType())
                .append("awardName", getAwardName())
                .append("amount", getAmount())
                .append("scale", getScale())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
